﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace BulletinMvc.Models
{
    public class BulletinItemCreateModel
    {
        [Required]
        [RegularExpression(@"^\w+$",ErrorMessage="项目编号由字母，数字，下划线组成！")]
        [Display(Name = "项目编号")]
        public string ProjectSN { set; get; }
        [Required]
        [Display(Name = "项目名称")]
        public string ProjectTitle { set; get; }
        [Required]
        [Display(Name = "区县")]
        public string Country { set; get; }
        [Required]
        [Display(Name = "单位")]
        public string School { set; get; }
        [Required]
        [Display(Name = "姓名")]
        public String Teachername { set; get; }
        [Display(Name = "结果")]
        public string Conclusion { set; get; }
        [Display(Name = "评语")]
        public string Comment { set; get; }

    }
}